<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>上海睿器资产管理有限公司</title>
<link href="css/layout.css" rel="stylesheet" type="text/css" />
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<script type="text/javascript"  src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/kefu.js"></script> <!--在线客服-->
<script>
	function GetQueryString(name) { 
		var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)","i"); 
		var r = window.location.search.substr(1).match(reg); 
		if (r!=null) return (r[2]); return null; 
	} 
	var code="company";
	$(function(){
		
		var id=GetQueryString("id");
		$.ajax({
			type:'get',
			url:'/cms/content/detail',
			data:'id='+id,
			success:function(data){
				if(data.code=="0"){
					var news=data.data;
					var title=news.title;
					var content=news.attribute_map.content;
					code=news.code;
					
					if(code=="news"){
						$("#banner").addClass("NewsBanner");
					}else if(code=="company"){
						$("#banner").addClass("News2Banner");
					}else{
						$("#banner").addClass("NewsBanner");
					}
					
					$(".titleBar").html(title);
					$(".newsContent").html(content);
				}
			}
		});
	});
	
	function back(){
		window.location.href='news.html?code='+code;
	}
</script>
</head>

<body>
<!-- 客服 开始 -->
<div id="top"></div>
<!-- 客服 结束 -->
<!-- banner 开始 -->
<div class="" id="banner"></div>
<!-- banner  结束 -->

<!-- 新闻资讯  开始 -->
<div class="newsbox">
	<div class="container">
    	<div class="titleBar"></div>
       	<div class="newsContent"></div>
       	<form><input type="button" value="返回" onclick="javascript:back();"/></form>
    </div>
    
</div>
<!-- 新闻资讯  结束 -->

</body>
</html>
